package io.ken.im.common.domain.model;

import com.alibaba.cola.event.DomainEventI;

import java.io.Serializable;

/**
 * @author: ken
 * @description: MQ消息
 * @date 2023-12-12
 **/
public class TopicMessage implements DomainEventI, Serializable {

    private static final long serialVersionUID = -4461595292143490371L;

    /**
     * 发送的MQ topic
     */
    private String destination;

    public TopicMessage() {
    }

    public TopicMessage(String destination) {
        this.destination = destination;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }
}
